<template>
  <div>
      <p>我是子组件--{{info}}-{{myAge}}</p>
      <button v-for="(item, index) in info3" :key="index">{{item}}</button>
  </div>
</template>

<script>
export default {
    props: ['info', 'info2', 'info3'],
    data() {
        return {
            myAge: this.info2
        }
    }
}
</script>

<style>

</style>